package com.kgc.cgapi.service;

import com.kgc.cgapi.pojo.CGSQPojo;
import com.kgc.basic.util.ResponseMsg;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

public interface CGSQServiceApi {

    @RequestMapping("/getCGSQ")
    @ResponseBody
    public ResponseMsg getCGSQ(@RequestParam(name = "code") String code);

    @RequestMapping("/getCGSQInfo")
    @ResponseBody
    public ResponseMsg getCGSQInfo(@RequestParam(name = "code") String code);


    @RequestMapping("/getCGSQPage")
    @ResponseBody
    public ResponseMsg getCGSQPage(@RequestBody Map<String, Object> param);

    @RequestMapping("addCGSQ")
    @ResponseBody
    public ResponseMsg addCGSQ(@RequestBody Map<String, Object> param);
    @RequestMapping("addCGSQInfo")
    @ResponseBody
    public ResponseMsg addCGSQInfo(@RequestBody Map<String, Object> param);

    @RequestMapping("modiCGSQ")
    @ResponseBody
    public ResponseMsg modiCGSQ(@RequestBody Map<String, Object> param);
    @RequestMapping("modiCGSQInfo")
    @ResponseBody
    public ResponseMsg modiCGSQInfo(@RequestBody Map<String, Object> param);

}
